package com.findyou.mapper;

import com.findyou.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.findyou.utils.Result;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Lenovo
* @description 针对表【news_user】的数据库操作Mapper
* @createDate 2024-03-06 20:06:46
* @Entity com.findyou.pojo.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User getUserInfo(Long id); // 根据id 进行查询

    int checkUserName(String username);

    void regist(User user);
}




